<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="author" content="王超凡">
    <title></title>
    <style>
    body{
        margin: 0;
    }
    .kuang{
        width: 650px;
        height: 270px;
        border: 1px solid red;
        margin: 100px auto;
    }
    ul{
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
    }
    li{
        list-style: none;
    }
    img{
        width: 130px;
        height: 130px;
        opacity: 0.1;
    }
    li:hover img{
        opacity: 1;
    }
    </style>
</head>
<body>
    <div class="kuang">
        <ul>
            <li><img src="./img/1.jpg" alt=""></li>
            <li><img src="./img/2.jpg" alt=""></li>
            <li><img src="./img/3.jpg" alt=""></li>
            <li><img src="./img/4.jpg" alt=""></li>
            <li><img src="./img/5.jpg" alt=""></li>
            <li><img src="./img/6.jpg" alt=""></li>
            <li><img src="./img/7.jpg" alt=""></li>
            <li><img src="./img/8.jpg" alt=""></li>
            <li><img src="./img/9.jpg" alt=""></li>
            <li><img src="./img/10.jpg" alt=""></li>
        </ul>
    </div>

</body>
</html>